﻿//-----------------------------------------------------------------------
// <copyright file="ILoggerFactory.cs" company="ET">
//     Copyright Mulala. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace Mulala.Cavan.Infrastructure.CrossCutting
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// Base contract for Log abstract factory
    /// </summary>
    public interface ILoggerFactory
    {
        /// <summary>
        /// Create a new ILog
        /// </summary>
        /// <returns>The ILog created</returns>
        ILogger Create();

        /// <summary>
        /// Creates the specified logger name.
        /// </summary>
        /// <param name="loggerName">Name of the logger.</param>
        /// <returns>The ILog created</returns>
        ILogger Create(string loggerName);
    }
}
